<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ElectPoolJoin extends BaseModel
{
    public $timestamps = true;
    static $unguarded = true;
    public $table = 'elect_pool_join';

    const CREATED_AT = 'create_time';
    const UPDATED_AT = 'update_time';


    public function pool()
    {
        return $this->hasOne(ElectPool::class, "id", "elect_pool_id");
    }

}
